<?php
/**
 * The page that generates the CSS to control the
 * layout of the pages.
 *
 * @copyright RFI, 2008-02-08
 */

require_once $_SERVER['DOCUMENT_ROOT'] . '/set-current-values.inc.php';

header('Content-type: text/css');

/*
 * ----------------------------------------
 * Styles for the Content Div.
 * ----------------------------------------
 */

echo "#content { \n";

echo "\tfloat: " . $current_values['content_float'] . ";\n";
echo "\tclear: " . $current_values['content_clear'] . ";\n";
echo "\twidth: " . $current_values['content_width'] . ";\n";
echo "\theight: " . $current_values['content_height'] . ";\n";

echo "}\n";

/*
 * ----------------------------------------
 * Styles for the Navigation Div.
 * ----------------------------------------
 */

echo "#navigation { \n";

echo "\tfloat: " . $current_values['navigation_float'] . ";\n";
echo "\tclear: " . $current_values['navigation_clear'] . ";\n";
echo "\twidth: " . $current_values['navigation_width'] . ";\n";
echo "\theight: " . $current_values['navigation_height'] . ";\n";

echo "}\n";

?>